using System;
using System.Collections.Generic;
using System.Diagnostics;

using JW.Framework.IOC.Attributes;

using Microsoft.Extensions.Configuration;

using Test.AbstractLib;

namespace Test.ImplementLib
{
    public class SqlServerDatabase : IDatabase
    {
        [Autowired]
        private IConfiguration Configuration { get; set; }

        [Value("Connection", "SqlServer ConnectionString")]
        public string ConnectionString { get; set; }

        public void ShowDbName()
        {
            Debug.WriteLine("SqlServer");
        }

        public IEnumerable<object> Query(params string[] filters)
        {
            return filters;
        }
    }
}
